<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% load static %}
    <script src="{% static 'js/influx.js' %}"></script>
    <link rel="shortcut icon" href="{% static 'img/favicon.ico' %}">
<!--<link rel="icon" type="image/png" href="{% static 'images/favicon.ico' %}">-->
<!--    <link rel="icon" href="{% static 'img/favicon.ico' %}">-->
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Brand</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="/influx2">单点造数 <span class="sr-only">(current)</span></a></li>
                <li  id="database" ><a href="/influxdb" >数据库命令</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">modbus <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li id="modsim"><a href="/modsim">单点变值</a></li>
                        <li id="quick_change_modsim"><a href="/qcmodsim">多点速变</a></li>
                        <li><a href="#">Something else here</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">One more separated link</a></li>
                    </ul>
                </li>
                <li  id="cicd" ><a href="/cicd" >CICD-DashBoard</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a>当前用户： {{user_name}}</a></li>
                <li ><a href="#" onclick = 'return removeSession()'>注销</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">设置 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">数据库</a></li>
                        <li><a href="#">默认值</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">没想好</a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>
</body>
</html>